package com.awonsome.mall.pms.pojo.dto.admin;

import com.awonsome.mall.pms.pojo.entity.PmsSku;
import lombok.Data;

import java.util.List;

/**
 * @author yangdejun
 * @date 2022/1/30 22:38
 */
@Data
public class GoodsFormDTO {

    private Long id;

    private String name;

    private Long categoryId;

    private Long brandId;

    private Long originPrice;

    private Long price;

    private String picUrl;

    private String[] subPicUrls;

    private String description;

    private String detail;

    private List<AttributeValue> attrList;

    private List<AttributeValue> specList;

    private List<PmsSku> skuList;

    @Data
    public static class AttributeValue {

        private Long attributeId;

        private String id;

        private String name;

        private String value;

        private String picUrl;

    }
}
